package api_response

import (
	"im/model"
	"im/responses"
)

// swagger:response GetGroups
type GetGroups struct {
	// in: body
	Body struct {
		// swagger:allOf
		ApiReturn
		Data []model.Groups `json:"data"`
	}
}

// swagger:response PostGroups
type PostGroups struct {
	// in: body
	Body struct {
		// swagger:allOf
		ApiReturn
		// 群组id
		Data int64 `json:"data"`
	}
}

// swagger:response GetGroupsMessages
type GetGroupsMessages struct {
	// in: body
	Body struct {
		// swagger:allOf
		ApiReturn
		// 群组id
		Data responses.GetGroupsMessages `json:"data"`
	}
}

// swagger:response
type GetGroupsByUsers struct {
	// in: body
	Body struct {
		// swagger:allOf
		ApiReturn
		// 群组id
		Data responses.GetGroupsUsers `json:"data"`
	}
}
